package com.i360day.redis.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface RedisListener {

    @AliasFor("value")
    Class<?>[] key() default void.class;

    @AliasFor("key")
    Class<?>[] value() default void.class;
}
